package com.jiuzhi.app.controller.sys.controller;

import com.jiuzhi.common.config.Global;
import com.jiuzhi.common.core.controller.BaseController;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 首页 业务处理
 *
 * @author jiuzhi
 */
@Controller
public class SysIndexController extends BaseController
{


    // 系统首页
    @GetMapping("/index")
    public String index()
    {

        return "saoma";
    }

    // 系统首页
    @GetMapping("/index1")
    public String index1()
    {

        return "add";
    }
    @GetMapping("/system/main")
    public String main(ModelMap mmap)
    {
        mmap.put("version", Global.getVersion());
        return "main_v1";
    }
}
